﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;
using Framework.Data.Common;

namespace Framework.Data.SqlServer
{
    public class SqlServerDatabase : DatabaseBase
    {
        public SqlServerDatabase(string connectionString)
        {
            ConnectionString = connectionString;
        }

        public override System.Data.Common.DbProviderFactory ProviderFactory
        {
            get { return DbProviderFactories.GetFactory("System.Data.SqlClient"); }
        }

        public override IDatabaseQueryingImplementationDetails QueryingImplementationDetails
        {
            get { return new SqlServerQueryingImplementationDetails(); }
        }
    }
}
